package com.yinhai.msg.thirdPlatform.entity;

import com.yinhai.msg.thirdPlatform.vo.MsgThirdPlatformVo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhongrd
 * @file TODO
 * @date 2019/5/20 17:09
 */
public class MsgThirdPlatformPo  implements Serializable {
    private static final long serialVersionUID = -4249821592392775073L;
    private String id;
    private String name;
    private String key;
    private String value;
    private String desc;
    private String platformtype;
    private String createUser;
    private Date createTime;
    private Date updateTime;
    private String platformname;

    public String getPlatformname() {
        return platformname;
    }

    public void setPlatformname(String platformname) {
        this.platformname = platformname;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPlatformtype() {
        return platformtype;
    }

    public void setPlatformtype(String platformtype) {
        this.platformtype = platformtype;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public MsgThirdPlatformVo toVo(MsgThirdPlatformVo msgThirdPlatformVo){
        msgThirdPlatformVo.setCreateTime(this.getCreateTime());
        msgThirdPlatformVo.setCreateUser(this.getCreateUser());
        msgThirdPlatformVo.setValue(this.getValue());
        msgThirdPlatformVo.setUpdateTime(this.getUpdateTime());
        msgThirdPlatformVo.setPlatformtype(this.getPlatformtype());
        msgThirdPlatformVo.setName(this.getName());
        msgThirdPlatformVo.setKey(this.getKey());
        msgThirdPlatformVo.setId(this.getId());
        msgThirdPlatformVo.setDesc(this.getDesc());
        msgThirdPlatformVo.setPlatformname(this.getPlatformname());
        return msgThirdPlatformVo;
    }
}
